
def func(num):
    print(f"{num}",end="=")
    if not isinstance(num,int) or num<1:
        print("必须是正整数!!!")
    elif num == 1:
        print(n)
    while num!=1:
        for i in range(2,int(num+1)):
            if num%i==0:
                num /= i
                if num==1:
                    print(f"{i}")
                else:
                    print(f"{i}",end="*")
                break
if __name__ == '__main__':
    func(7)
    n = 4
    a = 4
    sum = a
    res = a
    while n-1>0:
        sum*=10
        sum+=a
        n-=1
        res+=sum
    print(res)

